<template>
	<view class="useYhqItem spaceBet" @tap="goSelYhq">
		<view class="yhqTit">优惠券</view>
		<view class="yhqPrice">
			<text class="couponMoney">{{ couponMoney }}</text>
			<text class="iconfont icon-gengduo"></text>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			couponMoney:String,
		},
		methods:{
			goSelYhq(){
				this.$emit('goSelYhq');
			}
		}
	}
</script>

<style lang="scss" scoped>
	.useYhqItem{
		width: 100%;
		height: 90rpx;
		background: #fff;
		border-bottom: 1rpx solid #eee;
		align-items: center;
		font-size: 28rpx;
		color: $pss-text-color3;
		box-shadow: 0 -8rpx 10rpx rgba(0,0,0,.03);
		.yhqTit{
			margin-left: 30rpx;
		}
		.yhqPrice{
			margin-right: 30rpx;
			.couponMoney{
				margin-right: 10rpx;
				color: $pss-color-red;
			}
			.icon-gengduo{
				color: $pss-text-colora;
				font-size: 26rpx;
			}
		}
	}
</style>